//
//  UILabel+Extension.swift
//  Xiaozihui
//
//  Created by 校企荟 on 2017/8/22.
//  Copyright © 2017年 校企荟. All rights reserved.
//

import UIKit

extension UILabel {

    
    convenience init(content : String ,textFont : UIFont,color : UIColor = #colorLiteral(red: 0.2549019754, green: 0.2745098174, blue: 0.3019607961, alpha: 1), alignment : NSTextAlignment = .left,numberOfLine: Int = 0) {
        self.init()
        text = content
        font = textFont
        textColor = color
        textAlignment = alignment
        numberOfLines = numberOfLine
    }
}
